package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.Set;

/**
 * @Description RoleService
 * @Author chenchuang
 * @Date 2024-09-01
 */
public interface RoleService {
    PageResponse<RoleVo> getByPage(RoleDto roleDto, Integer pageNum, Integer pageSize);

    void createRole(RoleDto roleDto);

    Set<String> findCheckedResources(Long roleId);

    Boolean updateRole(RoleDto roleDto);

    int deleteRoleById(Long roleId);

    Set<String> initRoles();


}
